copyElementsFromCoreObject = function (coreObject, elemNames) {
			for (var i in coreObject) {
				if (Object.hasOwn(coreObject,i)) {
					var element = coreObject[i];
					var elementCopy = {
						content: [],
						id: element.getId(),
						name: (elemNames == undefined) ? element.getMetadata().getName() : elemNames
					};
					copy[element.getId()] = elementCopy;
				}
			}
		}
Copies element structure from the execution scope.

@private
@returns {object} copy Contains copied elements structure