How do I duplicate my xcode project? (iPhone SDK)

By the way, I simply duplicated/renamed the entire project folder. But when I started working in the new (duplicated) project (after changing app ids, provisioning profiles) I started getting errors about targets. I have no clue about what targets are or anything either so. Hmmm. Hope this works.