<?php
$networkDrive = '\\\\hq_base\\shared_home\\GOPOOLS\\CRM\\Final\\v1.3.0_Cumulative_Update';
$localPath = 'c:\\xampp\\htdocs\\gopools';

$file = 'public/api/assistant_status.php';
$src = $localPath . '\\' . str_replace('/', '\\', $file);
$dest = $networkDrive . '\\' . str_replace('/', '\\', $file);

if (copy($src, $dest)) {
    echo "Copied: $file\n";
} else {
    echo "Failed to copy: $file\n";
}
echo "Done!\n";
