The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
FileInfo::CopyTo Method
.NET Framework (current version)
Copies an existing file to a new file.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() | CopyTo(String^) | Copies an existing file to a new file, disallowing the overwriting of an existing file. |
![]() | CopyTo(String^, Boolean) | Copies an existing file to a new file, allowing the overwriting of an existing file. |
Show:
