How do I move/copy functions from one script to another while playing?

I’m making a card game and I’d like there to be an ability to copy all card effects from one card to another, how would I do that ?

Greetings, Is this for the Player in the game? Or for you during development?