Switching the regioselectivity in the copper-catalyzed synthesis of iodoimidazo[1,2-a]pyridines.