Copies metadata properties from one element to another.

Feature.copyProperties(source, properties, exclude)Element
this: destinationElement, default: null

The object whose properties to override.

sourceElement, default: null

The object from which to copy the properties.

propertiesList, default: null

The properties to copy. If omitted, all ordinary (i.e. non-system) properties are copied.

excludeList, default: null

The list of properties to exclude when copying all properties. Must not be specified if properties is.