Code change to address infinite loop on copy

The code change breaks up the tail recursion on Client.copy(...) which loops indefinitely when the target of an externally linked node does not exist.