c# system.io.file.copy create folder code example Example: c# copy file File.Copy(Path.Combine(sourceDir, fName), Path.Combine(distDir, fName));