invalid bucket name due to misuse of copyTo, fixed