public static boolean copiesEqual(ConsistencyGroupCopyUID firstCopy,ConsistencyGroupCopyUID secondCopy){
  if (firstCopy != null && secondCopy != null) {
    GlobalCopyUID firstCopyGlobalCopyUID=firstCopy.getGlobalCopyUID();
    GlobalCopyUID secondCopyGlobalCopyUID=secondCopy.getGlobalCopyUID();
    return copiesEqual(firstCopyGlobalCopyUID,secondCopyGlobalCopyUID);
  }
  return false;
}

public static boolean copiesEqual ( ConsistencyGroupCopyUID firstCopy , ConsistencyGroupCopyUID secondCopy ) { if ( firstCopy != null && secondCopy != null ) { GlobalCopyUID firstCopyGlobalCopyUID = firstCopy . getGlobalCopyUID ( ) ; GlobalCopyUID secondCopyGlobalCopyUID = secondCopy . getGlobalCopyUID ( ) ; return copiesEqual ( firstCopyGlobalCopyUID , secondCopyGlobalCopyUID ) ; } return false ; }
convenience method that determines if 2 cg copies are equal . the cluster and copy uids for each copy must be equal in order for the copies to be equal .
