CopyFile函數F1裏的函數原型
TheCopyFilefunctioncopiesanexistingfiletoanewfile.
BOOLCopyFile(
LPCTSTRlpExistingFileName,//pointertonameofanexistingfile
LPCTSTRlpNewFileName,//pointertofilenametocopyto
BOOLbFailIfExists//flagforoperationiffileexists
);
參數定義1.源文件2.要復制到的目錄+文件名3.是否覆蓋
這裏列到的函數在delphi自帶的幫助文檔裏都有很詳細的介紹和使用說明(快捷鍵F1)