To export all of the contacts within a specific segment:
Go to Audience > Segments.
Select the segment you want to export.
Expand the Export drop-down menu, and select Export all.
For Include marketing preferences?, choose Yes or No depending on your requirements.
On the Exports page, wait for your export to finish, then select Download. A CSV export then downloads to your local computer.