@Marc ******
follow the helpful advice of
@Tod ********
and you will be fine.
Showing up at the Airport carrying both Old and New passports is acceptable. But the Thai immigration officer at the airport does NOT ๐ซ transfer your stamps from old passport to the new passport.
That's ONLY done at your local Thai immigration office.