Added assign operator to array