This documentation is archived and is not being maintained.

File.Copy Method

Copies an existing file to a new file.

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

Supported by the .NET Compact Framework.

File.Copy (String, String, Boolean) Copies an existing file to a new file. Overwriting a file of the same name is allowed.

Supported by the .NET Compact Framework.

Show: