changed copyAll