FileCopy

Copies an existing file to a new file.

Syntax

filesystem.FileCopy PathName, NewPathName

The parts of the FileCopy function syntax are described in the following table.

Part Description
PathName String that contains the file name.
NewPathName String that contains the file name to copy to.