It's a train ride from T4S to T4 (very much akin to that between the Heathrow T5 satellite terminals).
I would imagine (if it is on a single ticket) the bags are checked through and you'd just go to transfers rather than out and back again through security...