IsolatedStorageFile.CopyFile Method (String, String, Boolean)
Copies an existing file to a new file, and optionally overwrites an existing file.
Assembly: mscorlib (in mscorlib.dll)
[SecuritySafeCriticalAttribute] public void CopyFile( string sourceFileName, string destinationFileName, bool overwrite )
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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.