Returns the stack as a new list, where the first element of the list is the top element of the stack.