Remembering Lore

I think i'm missing a step and not sure what to do about it. Essentially i have player heads with a custom_name and lore. And when placed, they lose the lore if you pick them back up. what method can you use to remember the lore. I've tried adding copy_components but no luck. (either 1.21.4 or 1.21.5) do i need to add a condition?


          "functions": [
            {
              "function": "minecraft:copy_components",
              "include": [
                "minecraft:profile",
                "minecraft:custom_name",
                "minecraft:item_name",
                "minecraft:lore",
                "minecraft:custom_data"
              ],
              "source": "block_entity"
            },
Continue to help post