Copies an existing file to a new file, and optionally overwrites an existing file.
sourceFileName The name of the file to copy.destinationFileName The name of the destination file. This cannot be a directory.overwrite true if the destination file can be overwritten; otherwise, false.
sourceFileName and destinationFileName can have the same file name if overwrite is true.