As long as you got your extension of stay issued in Bangkok you go out to the main immigration office at Chaengwattana to get the stamps transferred to the new passport
You need to have this form filled out and the copies listed on the back of it
**************************************
There is no cost to get the stamps moved to the new passport in Bangkok