added option to copy private key