Before running a shell command, Claude Code checks whether the files it would write to are inside the folders you have allowed. The copy and move commands cp and mv can name their destination folder with an option instead of as the last argument. That option is now recognised in these forms:
--target-directory, including clear shortenings such as--target, and the=valueform.-t, including when it is combined with other single-letter options in one group.
When a destination folder is given this way, every other file named in the command counts as a write. Before, only the last argument was treated as the destination. A destination attached directly to the option (-t/dir, --target-directory=dir) is also added to the paths checked against your allowed folders.
With this form of cp or mv, the last argument is not the destination, so the old check looked at the wrong path. Now the real destination is the one checked against your allowed folders.