Copyright is an intangible depreciable asset as per the Income Tax Act. Hence when you sell the software you are actually transferring the copyright. So any gain from such sale shall be short term capital gain. However if you have held the copyright more than 36months then it will be treated as long term capital asset and exemption can be claimed under section 54EC by investing the gain in capital gain bonds issued by REC or NHAI.