[DEBUG] resolve cp command