@Ashleigh ***********
You are right, they only transfer the stamp, not the visa.
A strict IO can still ask for the old passport, but IO can also accept only the new passport because the previous stamp shows the relation to the old passport, but it is not a guarantee.