All you need to do is render the animation and choose QuickTime as the file format for it to be saved in.
In the Render dialog select the All option to render all the frames of your animation. Or, you can select a Frame range.
In the File Save dialog choose QuickTime Move for the Format option.
Rendering animations is discussed in the User Guide in Chapter 18 - Rendering Basics.