Copies an existing file to a new file.
Syntax
[System.Runtime.InteropServices.ComVisible(false)]
public
void CopyFile (
string sourceFileName,
string destinationFileName)
Parameters
- sourceFileName
-
The name of the file to copy. - destinationFileName
-
The name of the destination file. This cannot be a directory or an existing file.
Remarks
Requirements
Namespace: System.IO.IsolatedStorage
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 4.0.0.0