I have a bunch of lights around the house that are in pairs and kept getting annoyed at having to manually try to get them to the same color/color temp. I looked around to see if there was already a script to do this somewhere, but all I could find was people suggesting automations to keep them always in sync which wasn’t really what I wanted.
So I put together this little script to copy the state from one to another. With some small tweaks it might also work for copying one light to multiple other lights, but I haven’t actually tried that yet.