Use copyProperties instead of mergeProperties