its an easy thing to do:
go to the dropdown menu Panels in your viewport and you see
Tear Off Copy...
but beware: in a teared off viewport window all your marking menus wont work.
everything starts and ends in the right place at the right time.