ee.ImageCollection.copyProperties

Copies metadata properties from one element to another.
UsageReturns
ImageCollection.copyProperties(source, properties, exclude)Element
ArgumentTypeDetails
this: destinationElement, default: nullThe object whose properties to override.
sourceElement, default: nullThe object from which to copy the properties.
propertiesList, default: nullThe properties to copy. If omitted, all ordinary (i.e. non-system) properties are copied.
excludeList, default: nullThe list of properties to exclude when copying all properties. Must not be specified if properties is.