moves the nodes in the (this) connected component to replacementTree connected component.
moves the nodes in the (this) connected component to replacementTree connected component. updates ccInfo.replacementTree can be NULL, in which case the nodes' myTree pointer is set to NULL.
the caller after calling should delete the tree with a delete command.