How to make a part face the same way as another part?

How can I make a part face the same way another part is facing

Try:

part1.CFrame *= CFrame.Angles(part2.CFrame:ToEularAnglesXYZ())