copyToTop method
Copy the element at index to top of stack
Implementation
void copyToTop(int index) {
add(_list[_list.length - index -1]);
}
Copy the element at index to top of stack
void copyToTop(int index) {
add(_list[_list.length - index -1]);
}