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 properly globalFirstTree, globalLastTree, and replacementTree.replacementTree can be NULL, in which case the nodes myTree pointer is set to NULL, and the other parameters are also taken ca