Qualcomm interview question

How to transfer elements from a stack to another stack using queue.