copyNodes have been introduced to handle more fluidly the copy of a group of nodes