Method CopyTo
CopyTo(IAbsoluteFilePath, bool)
Copies the file to a new file, optionally allowing the overwriting of an existing file.
Declaration
void CopyTo(IAbsoluteFilePath destinationFile, bool overwrite = false)
Parameters
Type | Name | Description |
---|---|---|
IAbsoluteFilePath | destinationFile | The new file to copy to. |
bool | overwrite | True to allow an existing file to be overwritten, otherwise false. |