复制文件

//原文件路径

 string filepath = PathTextBox.Text;

//要保存文件名 

 string name = PathTextBox.Tag.ToString();

//要保存到的路径 

 string newPath = NewPathTextBox.Text + "\" + name;

 File.Copy(filepath, newPath, true); 

原文地址:https://www.cnblogs.com/xiaoyaodijun/p/4079251.html