Copy list with random pointer.