AMI: Implement copy_image. (part 2, tweaked launch_permission_groups init)