Method Copy
Copy(Directory, Directory, Boolean)
Copy contents of a directory src to a directory dest. If a file in src already exists in dest then the one in dest will be blindly overwritten.
NOTE: the source directory cannot change while this method is running. Otherwise the results are undefined and you could easily hit a FileNotFoundException.
NOTE: this method only copies files that look like index files (ie, have extensions matching the known extensions of index files).
Declaration
public static void Copy(Directory src, Directory dest, bool closeDirSrc)