Copper is a very good dehydrogenating and dehydrating agent.
When a primary alcohol is heated in presence of copper than one hhydrogen connected to oxygen and another connected to carbon leave in the form of hydrogen gas converting it into an aldehyde.
Further oxidation of the aldehyde into a carboxylic acid is not favourable.
InA secondary alcohol,they are is converted into ketone showing same nature as above.
But in
But tertiary alcohol,cualcohols show the dehydrating nature converting the alcohol into an alkene by following zaitsevaccording Zaitsev's rule.