Copper(II)-catalyzed room temperature aerobic oxidation of hydroxamic acids and hydrazides to acyl-nitroso and azo intermediates, and their Diels-Alder trapping.