Mechanistic studies on the copper-catalysed C-N cross-coupling reaction