Note that you will have to pass through immigration and customs, and then clear security again before boarding. Depending on the time available you may wish to use the T3-T5 transfer bus rather than the external route. If you have time though a visit to the Revivals lounge might be a good option.