The upfront answer is - you can't do it.
FTP does not allow a file to be directly copied from host A to host B.
What you can do is download the file to your machine from host A and then upload it to host B.
In this case,
Solution 2, by Winston is one good option, and if you want other example of code, let me know.
Cheers,
Edo