when you applying for the new passport, tell the officer that the visa is still valid, they will keep that page in old passport and only destory other pages.
Noramlly, they will notice the visa is still valid and ask if you still like to keep it.
When you travel to US, you need to bring two passports when you get new one.