Perfecto, mil gracias, me anduvo le corregi un par de cositas. Ayer intente algo asi pero no me anduvo.
Código PHP:
$origen = "/home/******/public_html/prod/N001.php";
$destino = "/home/*******/public_html/prod/".$cod.".php";
$content = file_get_contents($origen);
$content = str_replace('N001',$content);
$fp = fopen($destino,"w+");
fputs($fp,$content);
fclose($fp);