Fix out-of-bound array access in copyPointCloud()
Add a test case for `copyPointCloud()` bug
Merge pull request #453 from taketwo/fix-copy-point-cloud

Fix out-of-bound array access in `copyPointCloud()`