Access to 2-substituted-2H-indazoles via a copper-catalyzed regioselective cross-coupling reaction.