List<Type> arrayList = new ArrayList<>();
// Use this function
public void increaseSize() {
String[] temp = new String[original.length + 1];
for (int i = 0; i < original.length; i++){
temp[i] = original[i];
}
original = temp;
}
String[] array = scan.nextLine().split(" ");
dataType[] arrayRefVar = new dataType[arraySize];