Answer:
Answer is in the provided screenshot! This was a lot of fun to make!
Explanation:
We need to create a new Array which has to be the size of amount * original - as we now that we are going to have that many elements. Then we just iterate through all the values of the new array and set them equal to each of the elements in order.
Ignore the code in my main function, this was to print to the terminal the working code - as you can see from the output at the bottom!