I am working on a project where I want to copy some files in one directory to a second already existing directory.
I can\'t find a way to simply copy from one folder to
string fileToCopy = "c:\\myFolder\\myFile.txt"; string destinationDirectory = "c:\\myDestinationFolder\\"; File.Copy(fileToCopy, destinationDirectory + Path.GetFileName(fileToCopy));