Add copy constructor, use new/delete instead of malloc/free.
Add copy constructor, use new/delete instead of malloc/free.

hipacc/hipacc,hipacc/hipacc-vivado,hipacc/hipacc-vivado,hipacc/hipacc-vivado,hipacc/hipacc