Standard phrase counter staff use to ask 'for here or to go?' in fast food and bubble tea shops. Compare
堂食 (tángshí, 'eat in') for the opposite.
打包 alone can mean 'to pack' more broadly (including software packaging); the
带走 makes the takeout meaning explicit.