Bueno buscando en el viejo y querido Pascal 7 de Joyanes Aguilar tenemos
Código Delphi
[-]
Var
archi,aux: file of (mi tipo de datos)
....
assign (archi, 'miarchivo.algo');
aux:=archi;
reset(archi); while not eof(archi) do
begin
readln(archi,mitopodedatos);
writeln(aux,mitipodedatos);
end;