improved copying of array & added apk