Improve copy to release directory.