Copper-catalyzed synthesis of benzo[b]thiophenes and benzothiazoles using thiocarboxylic acids as a coupling partner.