How the arm muscles move the arm?

The arm is made up of two main muscles (biceps & triceps) for the arm to move one of these muscles must contract and the other must relax. Which muscle does which depends on which way you are moving your arm.

Additional answer
This does not mention the muscles in the forearm, which mainly move the hand, or the muscle in the shoulder, deltoid, which lifts the arm.