Shift all elements of an array field to another array field throughout the whole collection

This gave me the following error:

The argument to $each in $addToSet must be an array but it was of type string

I did find this SO question: mongodb - Atomically move object by ID from one array to another in same document - Stack Overflow

But in my case there’s no conditional shifting but total shifting.