HH-36526 simplify copy as CURL