Make new array from previous answers

Need some help. Trying to learn.
I have sections with questions and answers which I can get.
But, I need to save each section into new array and tally all the final scores.
The screen will show the section score of current section that was just completed
and the final score.

I know the code has lots of problems - attached.

For the total scores the dynamic text boxes var’s are totalnumcorrect, totalnumIncorrect, totaluserScore.

For the section score the dynamic text boxes var’s are numcorrect, totalnumIncorrect, totaluserScore.

The title changes for each section, so I using that with if statement.

Can someone help please.

Thanks