ex 1.3.41 - copy constructor for list and array queues