This is replacement of a too specific function to copy attributes from a grease pencil to instances. With #127026 there is no more reason to have such a specific implementation so general `copy` is used now. Pull Request: https://projects.blender.org/blender/blender/pulls/127027