ArrayOutputStream-methods function

Creates an ArrayOutputStream