Revit offers a variety of ribbon options, keyboard actions, and on-screen element controls for moving elements in the drawing area, either independently or in association with other elements.
You can move a hosted component from one host to another.
For example, you can move a window from one wall to another wall. See Moving a Window to a Different Wall.
You can also move a component that is dimensioned to another element (by distance or angle) by changing the dimension. See Changing a Dimension Value.