Fix copy to itself.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>
Add coverage computation.

Signed-off-by: Martin Raspaud <martin.raspaud@smhi.se>