Deleting unused 'copylib' function

"copyLib()" never used, deleting it.