Prefer System.arraycopy() over manual array copy
Prefer StringBuilder over StringBuffer