|
Copies a specified file from one location to another.
object.Copy destination[, overwrite]
object
The name of a File object. Required.
destination
The destination where the file is to be copied. Wildcard characters are not allowed. Required.
overwrite
A Boolean value that is True (default) if existing files are to be overwritten; False if they are not. Optional.
The results of the Copy method on a File object are identical to operations performed using CopyFile where the file referred to by object is passed as an argument. You should note, however, that the alternative method is capable of copying multiple files.
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.