copying of the reference container