This question already has an answer here:
Is it possible to copy a file to a dir that doesn't exist such that it creates the directory, using only one command? Without using
&& and more than one command.
Edit: It is not duplicate, in the other ask the answer is a function, I ask about a command, only one command, without &&, functions, |, etc. It is a question for learn more and for know if exist commands that do it, because cp don't. Is a question for explain it in a high school.