After my own research, he seems to be doing something that is not documented.
FileIO.FileSystem.CopyFile(source, destination, true) will create a folder if it does not exist, where System.IO.File.Copy(source, desintation, true) does not and throws an exception.
It also appears that when using FileIO.FileSystem.CopyFile(source, destination, true) link remains in memory, so when you try to delete a new folder or file, an exception is generated "... is already being used by another process."
Dave
source share