Added copy and paste functionality