They either use trojans, or "hack" the computer. You can't really copy files through the web/internet. What you can do however, is use programs (there are several out there) to exchange/copy programs.