copy
Copies a file to a new location. Does not delete the file in its original location (i.e. not a move command).
Attributes:
file: the path and filename
to: the new path and filename
replace: True to overwrite existing file, false to prevent overwriting (default is true)
Example:
<copy file="test.txt" to="test2.txt" replace="true" />
To use a time stamp variable in the file name. Assumes the date command was used to load variable TimeStamp
<copy file="Data\DataFile.txt" to="[TimeStamp].txt" />