Metals, like copper and iron, are good conductors of heat; that is because metals are bounded by a 'cloud' of free electrons and these electrons can carry easily kinetic energy through the metal
On the other hand, foam and wood are isolators, that is, they are bad conductors of heat.