remove array from the public interface of array.h

(leaving only buffer)