ArrayList<ModelObject> srcChildren = src.getChildren();
if (srcChildren != null) {
children = getContainerItemsFor(srcChildren);
}
ContainerImpl container = new ContainerImpl(children);
container.setTemplate(src.getTemplate());
container.setMoveAppsPermission(Util.from(src.getMoveAppsPermissions()));
container.setMoveContainersPermission(Util.from(src.getMoveContainersPermissions()));
container.setAccessPermission(Util.from(src.getAccessPermissions()));
return container;
}