add a missed "inline" in matrix_copy