Download Images dan Langsung di copy di folder
<?php
$namafile = "bunga.jpg";
$url = 'https://alamatweb.id/images/savefiles/'.$namafile;
$img = 'foto/'.$namafile;
// Function to write image into file
file_put_contents($img, file_get_contents($url));
?>