It is okay to move cars from the accident scene to a safer place, like the shoulder of the road. Turn the hazard lights on, and use flares to make other drivers aware of the stopped vehicles. If this is not possible, stay inside the vehicle until emergency services arrive. It is highly dangerous to move about an accident scene in the midst of traffic, and numerous fatalities have occurred when people exit their vehicles.