Open the app that you want to float like that.
Click the overview/background nav button at the bottom of the screen.
Long press on the app that you want to float.
A blue box will appear telling you to drag the app there to put it in the pop-up mode.
You can then drag that pop-up window around, resize, etc.