* tweaked phpunit build
* removed usage of deprecated copy function
* removed usage of deprecated copy function