copy command no-ops if the node to be copied does not exist

This change is to make the copy command more robust. It is more forgiving now when the target nodes are missing.