private void doubleArraySize() {
        Person[] biggerArray = new Person[queueSize*2];
        for (int i = 0; i < queueSize; i++) {
            biggerArray[i] = this.personArray[i];
        }
        this.personArray = biggerArray;
    }