A ver, el fopen() solo abre el fichero, despues debes leer su contenido con fread() (
www.php.net/fread). Algo como:
Código PHP:
$fd=fopen("http://www.misitio.com/pepe.php",'r');
$fp=fopen("/home/e-smith/html/pepe.html","w+");
$contenido= "";
do {
$data = fread ($fd,1024);
if (strlen($data) == 0) {
break;
}
$contenido .= $data;
}
fwrite($fp,$contenido);
Saludos.