[server] Implement cross-library copy and move.