if «cp -i xxxx/* yyyyy/» does not work, try with «yes | cp xxxx/* yyyyy/».
The command «yes | cp -rf xxx/* yyyy» uses the «yes» command to automatically respond «yes» to any prompts that might arise during the file copying process. This can be useful when you want to copy files without being prompted for confirmation for each file.