You can right click on the mask and choose copy using mask, than paste it and you will get the shape as a vector path (filled with the bitmap).
if you only want the shape than you can change the type of fill an of course the stroke thickness as you like.
I hope that was useful.
Bookmarks