{PHP} save .zips

**Short:
**
Is there a way to get a .zip publicly available from the internet and then save it on your server/computer using PHP?

**Long:
**
I have a variable which holds the location of a .zip on the internet, http://example.com/example.zip. Is there anyway to get the zip and save it in a directory relevant to the script:
Script: root/scriptsfolder/zipgetter.php
Target: root/folders/

and an extension of how would I then extract that zip? I have root access to the server so can install stuff like PEAR and all that lot.

Thanks in advance,
ME :player: