add copybytes