How doI copy location and rotation of one object to another?

Suppose I have a [cube, sphere, mesh…] somewhere in my scene, and I want move another object to the same location, and with the same rotation?

I know to get the same location, I can use the 3D cursor, (CTL-S -->>cursor to selection, select other object to move, CTL-S, object to cursor) but how do I get the rotation to be the same?


EDIT: And scale too?

Add Copy Rotation and Copy Scale constraints?

I dont’ want it permanently, just during modeling phase.

Enable the ‘Copy attributes’ addon in the User Preferences. Select the 2 objects (the object for the final loc/rot/scale last), then Ctrl+C

I knew ther had to be a script/add-on/keyboard shortcut. Thanks!