add COPYING.
allocmem etc. moved behind commit
version 1.41