I believe you can do something like this:
const string sourcePath = @"c:est.txt";
const string destinationPath = @"c:est2.txt"
File.Copy(sourcePath, destinationPath);
FileInfo sourceFileInfo = new FileInfo(sourcePath);
FileInfo destinationFileInfo = new FileInfo(destinationPath);
FileSecurity sourceFileSecurity = sourceFileInfo.GetAccessControl();
sourceFileSecurity.SetAccessRuleProtection(true, true);
destinationFileInfo.SetAccessControl(sourceFileSecurity);
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…