copy generate (master)