Add a method for transferring arrays in DeviceDataRecord from host to device
I believe such functionality is useful for transferring tree/local tree in the distributed implementation.
I believe such functionality is useful for transferring tree/local tree in the distributed implementation.