List<ContainerRemapTuple> containersRemap = new LinkedList<ContainerRemapTuple>();
for (int i = 0; i < sourceContainers.size(); i++) {
Container sourceContainer = sourceContainers.get(i);
Container destinationContainer = copyContainers.get(i);
containersRemap.add(new ContainerRemapTuple(sourceContainer, destinationContainer));
}
TemplateContainersReMap remap = new TemplateContainersReMap(sourceTemplate, template, containersRemap);
return copy(source, destination, forceOverwrite, copyMode, remap, user, respectFrontendRoles);
}