// CopyBytes returns an exact copy of the provided bytes.
CopyBytes returns an exact copy of the provided bytes.
// CopyBytes returns an exact copy of the provided bytes .
func CopyBytes(b []byte) (copiedBytes []byte) {
	if b == nil {
		return nil
	}
	copiedBytes = make([]byte, len(b))
	if len(b) == 0 {
		return
	}
	copy(copiedBytes, b)
	return
}
func CopyBytes ( b [ ] byte ) ( copiedBytes [ ] byte ) { if b == nil { return nil } copiedBytes = make ( [ ] byte , len ( b ) ) if len ( b ) == 0 { return } copy ( copiedBytes , b ) return }
CopyBytes returns an exact copy of the provided bytes.
CopyBytes returns an exact copy of the provided bytes .