SIM cards aren't used to store contacts any more, they pretty much only get used for Data/Voice.
Your contacts will transfer over if you add the relevant account to your new phone. So you if have your contacts associated with your Microsoft Account, you need to add that account to your new phone.