Different operating systems have different commands for manipulating files. The Wolfram Language provides a simple set of file manipulation functions, intended to work in the same way under all operating systems.

Notice that CopyFile and RenameFile give the final file the same modification date as the original one. FileDate returns modification dates in the format used by DateList.