added copy functionality for activities