Q:

What method is the best to copy files from one server to another using PHP

I need to copy a couple of files over from one server to another using PHP. Now I currently use PHP FTP functionality which is ok but causes issues. Are there better ways to accomplish this?

A:

FTP is a good way to do this. It handles the authentication, and there are native PHP functions to use with FTP.

A:

I would suggest rsync, or sftp
However, if restricted to PHP only, try ssh2_sftp
required - pecl ssh2 package 
with the proper configured ssh public key, you don't even require to supply password

