in the video there is a step by step process of using iTunes to set up/activate the iphone.
on one step you select if you are current att customer or transferring from a different carrier.
Basically if you choose different carrier, then it asks you if you want to bring your old number over and you type in the old number. It looks pretty simple and the guy in the video says it will take anywhere from right away to a few hours.