public void copy(LinkedList<T> data) {
        LinkedList<T> list = new LinkedList<T>();
        for (Refer i = data.top; i != null; i = i.next) {
            list.add((T) i.term);
            this.add(list.remove());
        }
    }