adds COPY command to copy a key of any type