Are you sure this is an Ionic 2+ project then? For these projects this would be 100% wrong.
If its an Ionic v1 project, create one with the CLI and you will only have the www folder and everything will work out of the box.
This is not an ionic command, so of course it doesn’t do anything to the build. This only takes whatever is in www and copies it over to the Cordova project.