Copying the elements of a dynamic array into a queue

Thanks for the help…now i got it