Move Mesh to Mesh

Hi,

Is there a command/script to move the grey mesh box to the position and orientation of the red without having to manually select and rotate?. They are the same volume and shape.

TIA
H

_Orient3Pt

Thanks