add copy array, fix random
Merge branch 'master' of https://github.com/himkwan01/TszKwan_CSC11_48598