var
fi,fo: File;
buf: array[0..500] of char;
ReadNum: integer;
begin
AssignFile(fi,'源文件名');
Reset(fi,1);
Seek(fi,?);//这里为指定位置
AssignFile(fo,'目的文件名');
ReWrite(fo,1);
repeat
blockRead(Fi,Buf,Sizeof(Buf),ReadNum);
BlockWrite(fo,buf,Sizeof(Buf));
Until ReadNum<=0;
CloseFile(fi);
CloseFile(fo);
end;