function CopyFile( const SrcFilename: String; const DestFilename: String ):Boolean;function CopyFile( const SrcFilename: String; const DestFilename: String; PreserveTime: Boolean ):Boolean
procedure TForm1.FormDropFiles(Sender: TObject; const FileNames: array of String );begin if CopyFile(FileNames[0], DestFilename) then ShowMessage(FileNames[0] + ' copied');end;
Why every newbie want to handle files?
How to copy the file with his own name and his own file type
how to copy multiply files?