Transfered class from ABCIS Utils.
Modified class to use System.arraycopy for data encapsulation and performance.
Added javadoc.
Transfered class from ABCIS Utils.
Added javadoc.
Transfered class from ABCIS Utils.
Removed unused parameter and simplified some if statements.
Added javadoc.