How can you transfer your apps from your ipodtouch to your iPhone 3GS?

plug your iPod into your computer, click iTunes, then it should put your apps on there. Then plug in your iPhone, and it will automaticilly download.