Use a StringBuilder when copying for better speed.