You are right in the fact that you can legally make a copy of software you own for archival purposes but you can only transfer it if you are giving up all rights to said software. Straight from the US copyright law Chapter 1 Section 117 subsection (B):
Lease, Sale, or Other Transfer of Additional Copy or Adaptation. — Any exact copies prepared in accordance with the provisions of this section may be leased, sold, or otherwise transferred, along with the copy from which such copies were prepared, only as part of the lease, sale, or other transfer of all rights in the program. Adaptations so prepared may be transferred only with the authorization of the copyright owner.
Essentially the answer to your question is no it is not legal even if you are not making any type of profit. While it is legal to make multiple copies of your original software you can not distribute them in any way unless you are fully transferring the rights and the original copy over to a new owner.