How do I copy elements?