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: I6eacc451a8eb9f4597f2f42240e5091f8eacc9ba
diff --git a/meson.build b/meson.build
index bad2745..369d256 100644
--- a/meson.build
+++ b/meson.build
@@ -115,12 +115,12 @@
     ['power-control', 'phosphor-power-control.service'],
 ]
 
+fs = import('fs')
 foreach service : services
     if get_option(service[0])
-        configure_file(input: 'services/' + service[1],
-                 output: service[1],
-                 copy: true,
-                 install_dir: servicedir)
+        fs.copyfile('services/' + service[1],
+            install: true,
+            install_dir: servicedir)
     endif
 endforeach