Windows apps
Collapse the table of content
Expand the table of content
Information
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

 

Copies an existing file to a new file.

Namespace:   System.IO
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCopy(String^, String^)

Copies an existing file to a new file. Overwriting a file of the same name is not allowed.

System_CAPS_pubmethodSystem_CAPS_staticCopy(String^, String^, Boolean)

Copies an existing file to a new file. Overwriting a file of the same name is allowed.

Return to top
Show:
© 2017 Microsoft