You can export your tree as a GEDCOM file. That will not contain any images (documents, photos, etc.) that you have attached to your tree.
You can use a Desktop Genealogy program. Some are free to download; others must be purchased. Family Tree Maker 2012, from the same company as ancestry.com, will allow a straight download or sync of your existing tree, including all attached images.