fix the bug of convering v0.1 copy resource cfg to v0.2

Consider the following cfg in v0.1 :

````
"copy_to_assets" :[
        "../../../main.js"
]
````

in v0.2 it will be converted to wrong cfg:

````
   "copy_resources": [
        {
            "from": "../../../main.js", 
            "to": "main.js"
        },
````

the right cfg should be:

````
   "copy_resources": [
        {
            "from": "../../../main.js", 
            "to": ""
        },
````