micro-memory optimization: change const int copy_depth to unsigned char

b/c it fits in 8bit value