php copy local file to server 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');