Go to the service panel and turn off power to the circuit. Remove the receptacle plate.
Remove the screws that fasten the receptacle to the box and pull the receptacle out. Loosen the terminal screws on the receptacle and remove the wires. Notice how the wires are connected so you can reconnect them easily.
Remove the screws fastening the old outlet box to the wall or the wall stud. Remove the box. If there is a connector that fastens the wires to the outlet box, loosen it and pull the wires out of the box
Pull the wires through into the new box, and place the box in the location of the old box. Screw it securely in place.
Connect the wires to the receptacle. Push the extra wire into the box, ground first, white next, black last. Put the receptacle into the box and screw in place.
Screw the plate cover back on. Turn the power to the circuit back on.