copy kingdom library to distribution