code: @SuppressWarnings("unchecked")
      public static <T> T[] tail(T[] self) {
          if (self.length == 0) {
              throw new NoSuchElementException("Cannot access tail() for an empty array");
          }
          T[] result = createSimilarArray(self, self.length - 1);
          System.arraycopy(self, 1, result, 0, self.length - 1);
          return result;
      }
docs: Returns the items from the array excluding the first item.
  <pre class="groovyTestCase">
  String[] strings = ["a", "b", "c"]
  def result = strings.tail()
  assert result.class.componentType == String
  String[] expected = ["b", "c"]
  assert result == expected
  </pre>
  
  @param self an array
  @return an array without its first element
  @throws NoSuchElementException if the array is empty and you try to access the tail()
  @since 1.7.3