diff --git a/lib/itamae/resource/file.rb b/lib/itamae/resource/file.rb
index <HASH>..<HASH> 100644
--- a/lib/itamae/resource/file.rb
+++ b/lib/itamae/resource/file.rb
@@ -70,12 +70,10 @@ module Itamae
         end
 
         if run_specinfra(:check_file_is_file, path)
-          # TODO: specinfra
-          run_command(["cp", path, "#{path}.bak"])
+          run_specinfra(:copy_file, path, "#{path}.bak")
         end
 
-        # TODO: specinfra
-        run_command(["mv", @temppath, path])
+        run_specinfra(:move_file, @temppath, path)
       end
     end
   end
Call specinfra to copy and move files according to serverspec/specinfra#<I>