If the two pages are going to be purely HTML (no PHP) then you'll probably want to use cookies or something like localStorage/sessionStorage. Cookies would be used if you expect people using the page to have an older browser that doesn't support localStorage or sessionStorage (IE7 and lower).
Even if you do use the storage API, you'll want to run a check to make sure it's supported and ideally you'd end up with something like:
function _RunThisBeforePageTwo() {
if(sessionStorage != null) {
sessionStorage.setItem("list", list);
} else {
// Set a cookie instead
}
}
function _RunThisOnPageTwo() {
if(sessionStorage != null) {
list = sessionStorage.getItem("list");
} else {
// Load the cookie instead
}
}
The first function would be run before the user goes to page 2 and would upset a sessionStorage variable to hold your array. I did leave out the code to set a cookie, but that's something that's relatively easy to find.
However I will mention that if you use a cookie the array will have to be stored as a string (likely separated by commas, unless of course the strings contain commas in which case you'll need to find an appropriate delimiter. Once stored as a string you would have to load it and use the split() method to turn it back into an array on the second page.