Revert "simplify copy response"

This reverts commit e1e961f6edde15500350accb39a029c56de49ec9.
fix memory leak ?