IsolatedStorageFile.CopyFile Method (String, String)
July 28, 2014
Copies an existing file to a new file.
Assembly: mscorlib (in mscorlib.dll)
sourceFileName or destinationFileName is a zero-length string, contains only white space, or contains one or more invalid characters defined by the Path.GetInvalidPathChars method.
sourceFileName or destinationFileName is null.
The isolated store has been closed.
The isolated store has been disposed.
sourceFileName was not found.
The isolated store has been removed.
Isolated storage is disabled.
An I/O error has occurred.
sourceFileName and destinationFileName must specify different file names. Use the IsolatedStorageFile.CopyFile(String, String, Boolean) method overload to overwrite an existing file.