use TARGET_AUTH_KEY_FILE for authorized keys
Use TARGET_AUTH_KEY_FILE environment variable for the path of the authorized_keys file in the target host. If TARGET_AUTH_KEY_FILE is not set, then the default value .ssh/authorized_files is used.
Example run:
TARGET_AUTH_KEY_FILE=home/.ssh/authorized_keys ssh-copy-id -s adm@nas