Fixed copy bug in v8
Merge branch 'master' into sm