code: CookieWeb []fillCookies()
    {
      int size = _cookies.size();
  
      if (size > 0) {
        CookieWeb []cookiesIn = new WebCookie[size];
  
        for (int i = size - 1; i >= 0; i--) {
          cookiesIn[i] = _cookies.get(i);
        }
  
        return cookiesIn;
      }
      else {
        return NULL_COOKIES;
      }
    }
docs: Parses cookie information from the cookie headers.