Ok, I will look at a fix and at the same time I could look further into reusing this code to provide an xavp_copy command
Some considerations - support the stack index in the source - clarify how this behaves with nested xavps - optionally look at adding the `/g` to copy the entire xavp stack