(PHP 3, PHP 4 )
int copy (string source, string dest)
int copy
Vytvo°φ kopii souboru. Vracφ true pokud se kopφrovßnφ zda°ilo, jinak false.
P°φklad 1. Ukßzka copy()
if (!copy($file, $file.'.bak')) { print ("failed to copy $file...<br>\n"); }
Viz takΘ rename().