Do you mean the number associated with the SIM? If you want to keep that, put the SIM in the new phone. Your carrier will assist if the SIM is the wrong size. Speak to them also if you want to change the number.
If I've failed to understand what you mean, say.