copy public key