Use google. Just make sure your contacts are sync'd with your gmail account then make a backup of it just in case. You shouldn't loose them anyways rooting your phone, but if you feel more comfortable making a backup feel free.
Sign into google, then go into gmail, and choose contacts. Once in there, click on export and simply export your contacts to back them up