Program: 75097
Project: 75097
Buggy source:
/** 
 * Perform a deep copy from a source array to a destination array. If those arrays are multi-dimensional, sub-arrays of them are copied respectively.
 * @param source The source array.
 * @param destination The destination array.
 * @return <tt>true</tt> if successfully copied; otherwise, <tt>false</tt>.
 */
protected boolean _deepCopyArray(Object source,Object destination){
  if (source instanceof boolean[]) {
    System.arraycopy(source,0,destination,0,((boolean[])source).length);
    return true;
  }
 else   if (source instanceof byte[]) {
    System.arraycopy(source,0,destination,0,((byte[])source).length);
    return true;
  }
 else   if (source instanceof char[]) {
    System.arraycopy(source,0,destination,0,((char[])source).length);
    return true;
  }
 else   if (source instanceof double[]) {
    System.arraycopy(source,0,destination,0,((double[])source).length);
    return true;
  }
 else   if (source instanceof float[]) {
    System.arraycopy(source,0,destination,0,((float[])source).length);
    return true;
  }
 else   if (source instanceof int[]) {
    System.arraycopy(source,0,destination,0,((int[])source).length);
    return true;
  }
 else   if (source instanceof long[]) {
    System.arraycopy(source,0,destination,0,((long[])source).length);
    return true;
  }
 else   if (source instanceof short[]) {
    System.arraycopy(source,0,destination,0,((short[])source).length);
    return true;
  }
 else   if (source instanceof Object[]) {
    Object[] sourceArray=(Object[])source;
    Object[] destinationArray=(Object[])destination;
    for (int i=0; i < sourceArray.length; i++)     if (!_deepCopyArray(sourceArray[i],destinationArray[i]))     sourceArray[i]=destinationArray[i];
    return true;
  }
 else   return false;
}

Fixed version (ground truth):
/** 
 * Perform a deep copy from a source array to a destination array. If those arrays are multi-dimensional, sub-arrays of them are copied respectively.
 * @param source The source array.
 * @param destination The destination array.
 * @return <tt>true</tt> if successfully copied; otherwise, <tt>false</tt>.
 */
protected boolean _deepCopyArray(Object source,Object destination){
  if (source instanceof boolean[]) {
    System.arraycopy(source,0,destination,0,((boolean[])source).length);
    return true;
  }
 else   if (source instanceof byte[]) {
    System.arraycopy(source,0,destination,0,((byte[])source).length);
    return true;
  }
 else   if (source instanceof char[]) {
    System.arraycopy(source,0,destination,0,((char[])source).length);
    return true;
  }
 else   if (source instanceof double[]) {
    System.arraycopy(source,0,destination,0,((double[])source).length);
    return true;
  }
 else   if (source instanceof float[]) {
    System.arraycopy(source,0,destination,0,((float[])source).length);
    return true;
  }
 else   if (source instanceof int[]) {
    System.arraycopy(source,0,destination,0,((int[])source).length);
    return true;
  }
 else   if (source instanceof long[]) {
    System.arraycopy(source,0,destination,0,((long[])source).length);
    return true;
  }
 else   if (source instanceof short[]) {
    System.arraycopy(source,0,destination,0,((short[])source).length);
    return true;
  }
 else   if (source instanceof Object[]) {
    Object[] sourceArray=(Object[])source;
    Object[] destinationArray=(Object[])destination;
    for (int i=0; i < sourceArray.length; i++)     if (!_deepCopyArray(sourceArray[i],destinationArray[i]))     destinationArray[i]=sourceArray[i];
    return true;
  }
 else   return false;
}