updated docs
fixed BRKT lengths and optimized copy