File.Copy Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: