Switch all windows from two workspaces
I want to switch all windows from the current workspace with the windows on a given workspace. For example all windows from the current workspace should be moved to workspace 2 and all windows from workspace 2 should be moved to the current workspace.
How can I approach that? Is there a method for referencing all windows and containers on a given workspace?