add an Archive#toArray() method