code: def save_simulations(self, rep_prefixes, prefix, max_idx, min_idx):
      for actor in self.scene.actor_list:
          actor_id = actor[0]
          reference_id = "reference_" + actor_id
          file_repetition = self.scene.get_filename_with_prefix(
              rep_prefixes[max_idx], actor_id
          )
          file_reference = self.scene.get_filename_with_prefix(
              prefix, reference_id
          )
  
          shutil.copyfile(file_repetition, file_reference)
  
      if min_idx != max_idx:
          for actor in self.scene.actor_list:
              actor_id = actor[0]
              failed_id = "failed_" + actor_id
              file_repetition = self.scene.get_filename_with_prefix(
                  rep_prefixes[min_idx], actor_id
              )
              file_failed = self.scene.get_filename_with_prefix(
                  prefix, failed_id
              )
  
              shutil.copyfile(file_repetition, file_failed)
  
      for r_prefix in rep_prefixes:
          for actor in self.scene.actor_list:
              actor_id = actor[0]
              file_repetition = self.scene.get_filename_with_prefix(
                  r_prefix, actor_id
              )
  
imports: from .None import SmokeTest
  import carla
  import time
  import numpy
  import filecmp
  import shutil
  import os
label_desc: Use image node_id 4 for calling the CollisionScenarioTester obj's underlying member method code with example usage: obj.save_simulations(rep_prefixes, prefix, max_idx, min_idx) without return types