You can replace this with an array copy - much faster also.