How can i move components in solid works?

This is how to use Move/ Copy features

  1. Step 1:

    select Insert> Features> Move/Copy Body

  2. Step 2:

    Option 1: Using Standard mate, in your case, use distance mate, select body to move, and select Face to mate

  3. Step 3:

    Option 2: In Move/Body features, scroll down at bottom, you will see button named "Translate/Rotate". Click the button

  4. Step 4:

    and then, choose either using "Translate" along axis, or "Rotate" along axis.