Added ability to copy remote file.