Refactor project and platform services

We need this refactoring in order to reuse code for `iOSProjectService`
But TypeScript does. This should work:
```ts
	function cp(arg: string, sourcePath: string, destinationPath: string): void;
	function cp(arg: string, sourcePath: string[], destinationPath: string): void;
```