string SourcePath = "Path1";
string DestinationPath = "Path2";
foreach (string path in Directory.GetFiles(SourcePath, "*.*", SearchOption.AllDirectories))
File.Copy(path, path.Replace(SourcePath, DestinationPath), true);
string SourcePath = "Path1";
string DestinationPath = "Path2";
foreach (string path in Directory.GetFiles(SourcePath, "*.*", SearchOption.AllDirectories))
File.Copy(path, path.Replace(SourcePath, DestinationPath), true);