When copying a command block and that a command block with NBT in the inventory, it moves the command to the desired box but without copying the NBT.
When copying a command block and that a command block with NBT in the inventory, it moves the command to the desired box but without copying the NBT.
You have to ctrl + pick block for it to copy the command.