added copy view using snapshot api