To copy files between remote servers where transfers occur on the local host you use the -3 command line switch. This is useful if server1 and server2 don’t permissions to communicate with each other but the local host does.
scp -3 user@server1:/path/to/file user@server2:/path/to/file