I'm not sure you can do that. I know you could probably import from the SIM, but I don't think you can export it.
Your contacts should be synced with your MS account (people.live.com) so if you're trying to move to another phone you can sign into your MS account on that phone.