you have to write your own small macro to do that.
A workarround may be to use the "Size and Position Window" that you could open in the View menu:
Here you select shape 1, strore it's X and Y Position in your mind and then place the shape a little bit to the side.
Select second shape, again save the X and Y position and now replace them with the ones from shape1.
Select shape 1 again and now give it X/Y of shape 2.