doc fix.
Fixed beforeCopy option.