meson: Replace configure_file with fs.copyfile

configure_file is deprecated since 0.64.0, and replace it with
fs.copyfile.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: I0e0a066519bba9b3f4b78e9c6139cd754d3c2b75
diff --git a/service_files/meson.build b/service_files/meson.build
index 4bbce89..56acbc5 100644
--- a/service_files/meson.build
+++ b/service_files/meson.build
@@ -4,12 +4,11 @@
    'op-occ-enable@.service'
 ]
 
+fs = import('fs')
 foreach u : unit_files
-    configure_file(
-        copy: true,
-        input: u,
+    fs.copyfile(
+        u,
         install: true,
-        install_dir: systemd_system_unit_dir,
-        output: u,
-        )
+        install_dir: systemd_system_unit_dir
+    )
 endforeach