Remove size parameter from copy* methods in C++ and add copy*(void* data).

Change-Id: I4905a4774748c9f0d0406f70ce3895ebd68e92ce
diff --git a/tests/cppbasic/compute.cpp b/tests/cppbasic/compute.cpp
index 782410a..471b10a 100644
--- a/tests/cppbasic/compute.cpp
+++ b/tests/cppbasic/compute.cpp
@@ -39,7 +39,7 @@
     for (uint32_t ct=0; ct < t->getCount(); ct++) {
         buf[ct] = ct | (ct << 16);
     }
-    ain->copy1DRangeFrom(0, t->getCount(), buf, t->getCount()*4);
+    ain->copy1DRangeFrom(0, t->getCount(), buf);
 
     sc->forEach_root(ain, aout);
     printf("for each done\n");