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.
File::Copy Method
.NET Framework (current version)
Copies an existing file to a new file.
Assembly: mscorlib (in mscorlib.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | Copy(String^, String^) | Copies an existing file to a new file. Overwriting a file of the same name is not allowed. |
![]() ![]() | Copy(String^, String^, Boolean) | Copies an existing file to a new file. Overwriting a file of the same name is allowed. |
Show:

