You can compare the hierarchical structure of two objects. For example, you can compare 2 assemblies to determine the differences between them, and then use the synchronize tool to update one or the other of the structures.
Defining a Structure Compare Report About the Structure Compare Reports Using Structure Compare Report Results