Copies an existing file to a new file.
object.Copy ( ExistingFileName, NewFileName [,FailIfExists] ) |
- ExistingFileName
- Required. A String that represents the full path of the file to be copied.
- NewFileName
- Required. A String that represents the full path of the destination file to copy to.
- FailIfExists
- Optional. A Boolean that specifies whether to abort the copy if the destination file already exists.
Boolean
FailIfExists is a boolean specifying whether to abort the copy if the destination file already exists. If not specified, FailIfExists is False. [Optional].