copyPackage method
Implementation
void copyPackage(Uri srcUri, Uri dstUri) {
copyDirectory(src: srcUri, dst: dstUri);
context.getFile(srcUri.resolve("pubspec.yaml")).copySync(
dstUri.resolve("pubspec.yaml").toFilePath(windows: Platform.isWindows));
}