Mega Code Archive
FileSystemObject CopyFile()
Syntax
filesystemobject.CopyFile(source, destination, overwrite)
The CopyFile() method is used to copy one or more files to a specified directory.
source specifies source path and filename.
destination specifies destination path a filename.
overwrite is a Boolean value indicating whether to overwrite an existing file or not.
Copy "c:\test.txt" to the existing path: "c:\tmp\myTest.txt"