Thermal energy moves from A to B by . Heat transfer will continue until the liquid in B reaches temperature as the liquid in A.