Shouldn't you include the licence from the file that you copied this code?