Moved copy polyfill behaviour to a trait.