code: public void limitItems(int limit) {
          buildNumbers = copyLastElements(buildNumbers, limit);
  
          passedFeatures = copyLastElements(passedFeatures, limit);
          failedFeatures = copyLastElements(failedFeatures, limit);
          totalFeatures = copyLastElements(totalFeatures, limit);
  
          passedScenarios = copyLastElements(passedScenarios, limit);
          failedScenarios = copyLastElements(failedScenarios, limit);
          totalScenarios = copyLastElements(totalScenarios, limit);
  
          passedSteps = copyLastElements(passedSteps, limit);
          failedSteps = copyLastElements(failedSteps, limit);
          skippedSteps = copyLastElements(skippedSteps, limit);
          pendingSteps = copyLastElements(pendingSteps, limit);
          undefinedSteps = copyLastElements(undefinedSteps, limit);
          totalSteps = copyLastElements(totalSteps, limit);
  
          durations = copyLastElements(durations, limit);
      }
docs: Removes elements that points to the oldest items.
  Leave trends unchanged if the limit is bigger than current trends length.
  
  @param limit number of elements that will be leave