Exact formatting, such as paragraph alignment, isn’t copied. Instead, Mammoth looks at the styles applied and converts that to the appropriate HTML.
Tabs are converted to tab characters. How those are then rendered by the browser will depend on where they appear: outside of pre elements and similar, tabs will behave in the same way as any other whitespace i.e. be rendered as a single space.