Mega Code Archive
Categories
/
JavaScript Tutorial
/
MS JScript
File Copy()
Syntax file.Copy(destination, overwrite) The Copy() method is used to copy a file. overwrite is a Boolean value indicating whether to overwrite an existing file of the same name. Copy test.txt to mytest.txt