code: public void toArray(Element[] dest)
      {
          if (ivElements != null)
          {
              System.arraycopy(ivElements, ivHeadIndex, dest, 0, size());
          }
      }
docs: Copies elements from the bucket into the destination array starting at
  index 0. The destination array must be at least large enough to hold all
  the elements in the bucket; otherwise, the behavior is undefined.
  
  @param dest the destination array