add function to  copy task argument to task memory space

Signed-off-by: Le,Min <min.le@intel.com>