Overview | Methods | This Package | All Packages
Copies an existing file to a new file.
Syntax
public static void copy( String sourceFileName, String destFileName )
Parameters
sourceFileName
The name of the file to copy.
destFileName
The name of the destination file to copy to.
Exceptions
WinIOException thrown if an error occurs or if the destination file exists.
Remarks
Use the copyOver method to allow an existing file to be overwritten.