fix keyCopy()'s ignorance of flags

clear flags as they lead to failed keySetName() with
source/dest->flags=KEY_FLAG_RO_NAME

maybe introduced around adding KEY_FLAG_RO_NAME in #6f07e18f
Hi, is this duplication here really needed?