this is how I was told to do it in the fish shop since my father has a tank already, I was told it would work fine
Well, it will not work at all, as I'll explain.
The ammonia produced by fish (through respiration in the gills) enters the water. This is the start of the nitrification cycle.
Nitrosomonas bacteria use this ammonia as food. In doing so, they produce nitrite, another form of nitrogen. Different bacteria,
Nitrospira, use the nitrite as food, and produce nitrate, yet another form of nitrogen. The nitrate is relatively harmless, compared to ammonia and nitrite, both of which are deadly.
The two types of bacteria appear and multiply to handle the level of ammonia adn nitrite being produced. It takes time for these bacteria to appear. They live on surfaces covered by water, and this is primarily in the filter but there can be some in the substrate too. They do not live in water, so the only thing you are going to put into the tank with water from an existing aquarium will be pathogens and ammonia. I assume that eventually this minimal amount of ammonia might start the colonization of the bacteria, but I wouldn't rely on it.
We can "seed" a new tank's filter by adding bacteria from an existing filter. This requires moving the filter media like pads, sponges, etc, on which bacteria will be living, hopefully. There are other ways to cycle, as set out in the article another member linked previously. Whatever method you decide on, it has to be completed before any fish can go into the new tank.
Byron.