4cac3158c7
* copy metadata * add tests for copy and generator * extract copy rule to a production method and update usages * fix tests