No, spread and transfer is not interchangeable because, in your sentence, it is implied that heat is being transported from the wall into the air, so "transfer" is a better word to describe that transportation, whereas "spread" does not necessarily mean transportation from wall to air.