Method that copy items

Write a method that copy items from one stack(stackA) to another stack(stackB) without changing the first stack(stackA) unchanged