Again import System.IO Namespace:- using System.IO;
string sourcePath = @"C:\ABC";
string targetPath = @"C:\ABC_COPY";
if (!Directory.Exists(targetPath))
{
Directory.CreateDirectory(targetPath);
}
foreach (var srcPath in Directory.GetFiles(sourcePath))
{
//Copy the file from sourcepath and place into mentioned target path,
//Overwrite the file if same file is exist in target path
File.Copy(srcPath,srcPath.Replace(sourcePath, targetPath),true);
}