Improved killing and copying functions