Question: how to transfer contacts from windows phone to sim?
Answer: If you have contacts saved to a SIM card (possibly from your old device), put the SIM card into the new Windows Phone 8 device.
Then, open the People application and tap on the More button (...) and Settings. Tap to 'Import SIM contacts'.