<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def copy(self):
 """Create a copy of the animation."""

        animation = AnimationList()
        animation.set_frame_rate(self.frame_rate)
        animation.__coords = self.__coords
        animation.__horizontal_flip = self.__horizontal_flip
        animation.__vertical_flip = self.__vertical_flip
        animation.should_repeat = self.should_repeat
        animation.draw_order = self.draw_order
        animation.update_order = self.update_order
        for image in self.images:
            new_image = Sprite()
            new_image.coords = image.coords
            new_image.apply_texture(image.image)
            animation.images.append(new_image)

        return animation