Share via


Copy Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Copies an existing file to a new file.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member Copy(String, String) Copies an existing file to a new file. Overwriting a file of the same name is not allowed.
Public methodStatic member Copy(String, String, Boolean) Copies an existing file to a new file. Overwriting a file of the same name is allowed.

Top

See Also

Reference

File Class

System.IO Namespace