I don't know how to copy, for example, a command button to another command button. This is what I want to do

command1 = command2

1- to copy the pointer of command2 to command1
2- just to copy the contents of command2 to command1

How can I do this two things?

Thanks