‘A’ becomes cooler. ‘B’ becomes hotter. Eventually both attain the same temperature. This is heat transfer by conduction.