Fixed overflowing copy