php copy local server to remote code example
Example: php copy image from remote to local server
copy('http://www.google.co.in/intl/en_com/images/srpr/logo1w.png', '/tmp/file.png');
copy('http://www.google.co.in/intl/en_com/images/srpr/logo1w.png', '/tmp/file.png');