You'll need to ask your current supplier for a PAC - Porting Authorisation Code. Have a read of
this..
My wife & I both did this over 2 years ago when we moved from Orange to Giffgaff. We were somewhat apprehensive but it turned out to be very straightforward.
Tony
We have more and more laws, and less and less enforcement