29e78c add error messages into copy function

Authored and Committed by Ivan Mahonin 6 years ago
    add error messages into copy function