http://it2.php.net/manual/it/function.copy.php

Leggi la nota subito sotto l'esempio.