Functionality to copy activities.