Summary
Copies the file to the specified destination file.
- Assembly
- Wyam
.Testing .dll - Namespace
- Wyam
.Testing .IO - Containing Type
- TestFile
Syntax
public void CopyTo(IFile destination, bool overwrite = true, bool createDirectory = true)
Parameters
Name | Type | Description |
---|---|---|
destination | IFile | The destination file. |
overwrite | bool | Will overwrite existing destination file if set to true . |
createDirectory | bool | Will create any needed directories that don't already exist if set to true . |
Return Value
Type | Description |
---|---|
void |