you need bring both original AP with you and the officer will retain one.
The passport, AP, I-94 (white card) will be endorsed as ' AOS ',good for one year.
I only took one AP with me, the officer let me go anyway. No one looked at H1B visa. Good luck