Use copy_n where possible
The following discussion from !20 (merged) should be addressed:
-
@cconrads started a discussion: std::copy_n(local_index_map_, local_vect_size, local_index_map.data())
All occurrences of std::copy
in the source should be reviewed and replaced by copy_n
if it makes sense.