fixes non-contiguous copy bug
Merge pull request #50 from nicholas-leonard/copy

fixes non-contiguous copy bug