Add support to directly set content in copy module
Clarify an error message