procedure TForm1.btn1Click(Sender: TObject);
begin
  CopyFile(edit1.text ,edit2.text , false);     //前面是源文件的地址和文件名,后面是目标地址和文件名
end;有错:
[Error] Unit1.pas(34): Incompatible types: 'TCaption' and 'PAnsiChar'
[Error] Unit1.pas(34): Incompatible types: 'TCaption' and 'PAnsiChar'
[Fatal Error] Project1.dpr(5): Could not compile used unit 'Unit1.pas'要怎么带入那两个参数啊?