yes,
normally they stitch old passport with new one, so it becomes one set. you can show your old poassport for RP info while they'll stamp on newer one. your new passport will also have number/details of your old passport.