How to copy element from view to another view?