support copy slice with ptr struct
Merge pull request #3 from azumads/master

support copy slice with ptr struct