How to Upload images

I want to know How to Upload images Using URl ?
Eg.
This is sample image url “http://www.ebizinfosys.com/images/php.png” I want to upload in to my site using upload.PHP,Jquery one is better.

Thanx, I think this function can be use only to copy local file but i can be use remotely.

I believe copy() works

http://us.php.net/copy